home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / dev / e / ebuild.lha / build / .build next >
Text File  |  1997-12-14  |  872b  |  40 lines

  1. # Compile the source and copy the program to E:Bin.
  2. # The existing E:Bin/Build will be backed up.
  3. build: build.e .build
  4.     failat 21
  5.     ec $dep
  6.     if not warn
  7.     delete e:bin/build_old
  8.     rename e:bin/build e:bin/build_old
  9.     if not warn
  10.     echo "Renamed previous build in E:bin/"
  11.     endif
  12.     copy build e:bin/
  13.     if warn
  14.     echo "Copying new build to E:bin/ failed"
  15.     else
  16.     echo "Copied new build to E:bin/"
  17.     endif
  18.     endif
  19.  
  20. # Delete the program
  21. clean:
  22.     delete build
  23.  
  24. # Copy all files to T:Ebuild and create the archive.
  25. # The documentation is generated from the AEE doc in E:Docs/AEE
  26. dist:
  27.     mkdir t:build >NIL:
  28.     copy all to t:build >NIL:
  29.     cd e:docs/aee/ebuild
  30.     build doc NOHEAD
  31.     copy *.guide to t:build >NIL:
  32.     copy *.html to t:build >NIL:
  33.     cd t:build
  34.     protect build.e +d
  35.     delete *! >NIL:
  36.     cd /
  37.     lha a -arx ram:ebuild.lha build >NIL:
  38.     delete all build >NIL:
  39.     echo "Build archive created in RAM:"
  40.